<div class="controls">
    <span>
        <?= $this->translate("Total products"); ?>:
        <?= $this->productsCount; ?>
    </span>
    <?= $this->formFound ?>
</div>
<table class="products">
    <? foreach ($this->products as $product): ?>
        <tr>
            <td>
                <img src="<?= $product->thumb_pic_url ?>"/>
            </td>
            <td>
                <a href="/<?= $this->language ?>/product/<?= $product->id ?>">
                    <?= $this->escape($product->manufacturer_name) ?>
                    <?= $this->escape($product->name) ?>
                    (<?= $this->escape($product->mpn) ?>)
                </a>
                <div class="description"><?= $this->escape($product->short_summary_description) ?></div>
                <div class="category">
                    <?= $this->translate('Category'); ?>:
                    <a href="/<?= $this->language ?>/catalog/<?= $product->category_id ?>">
                        <?= $this->escape($product->category_name) ?> 
                    </a>
                </div>
                <? if ($product->price): ?>
                    <span class="price"><?= $product->price ?>&nbsp;<?= $this->translate('grn') ?></span>
                    <? if ($this->shopMode): ?>
                        <form class="buy" method="post" action="/<?= $this->language ?>/cart">
                            <input type="hidden" name="product" value="<?= $product->id ?>"/>
                            <input type="submit" value="<?= $this->translate("Buy") ?>"/>
                        </form>
                    <? endif ?>
                <? endif ?>
            </td>
        </tr>
    <? endforeach; ?>
</table>
<?= $this->productPagination(); ?>